package com.ysw.rpc.common.messages;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @author YinShangwen
 * @since 2023/4/4 11:01
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class Request extends Message {
    /**
     * 请求ID
     */
    private Long id;
    /**
     * 参数类型
     */
    private Class<?>[] parameterTypes;
    /**
     * 参数
     */
    private Object[] args;
}
